package com.qyhl.webtv.module_live.teletext;


import com.qyhl.webtv.commonlib.entity.live.TeleTextBean;

import java.util.List;

/**
 * Created by qyhl on 2017/12/14.
 */

public interface TeleTextListContract {
    interface TeleTextListView {
        void setDatas(List<TeleTextBean> beanList, boolean isMore);

        void setError(String msg, boolean isMore);

        void setEmpty(String msg, boolean isMore);

        void setNetError(String msg, boolean isMore);

        void checkResult(boolean isSuccess, TeleTextBean bean);
    }

    interface TeleTextListPresenter {
        void getDatas(String sceneId, String type);

        void checkCode(String sceneId, String code, TeleTextBean bean);

        void setDatas(List<TeleTextBean> beanList, boolean isMore);

        void setError(int code, String msg, boolean isMore);

        void checkResult(boolean isSuccess, TeleTextBean bean);
    }

    interface TeleTextListModel {
        void getDatas(String sceneId, String type);

        void checkCode(String sceneId, String code, TeleTextBean bean);
    }

}